﻿using Domain.Types;
using Infrastructure.AggregateBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Domain.Model
{
    [Table("RealNameInfo")]
    public class RealNameInfo : IEntity
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }
        [StringLength(20)]
        public string CardNO { get; set; }
        [StringLength(10)]
        public string RealName { get; set; }
        public RealNameStatus Status { get; set; }
        //[StringLength(2000)]
        //public string VideoUrl { get; set; }
        //[StringLength(10)]
        //public string LivenessType { get; set; }
        [StringLength(5000)]
        public string Data { get; set; }
    }
}
